﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bon_It.Model.TransferObjects
{
    using System.Runtime.Serialization;

    /// <summary>
    /// A class for the additional debit informatino.
    /// </summary>
    [DataContract]
    public class DebitInformation
    {
        /// <summary>
        /// The debit type for debit.
        /// </summary>
        public enum DebitTypes
        {
            /// <summary>
            /// Type is unknown.
            /// </summary>
            Unknown = 0,

            /// <summary>
            /// Cash.
            /// </summary>
            Cash = 2,

            /// <summary>
            /// credit card.
            /// </summary>
            Credit = 4,

            /// <summary>
            /// Customer card.
            /// </summary>
            Customer = 5
        }

        /// <summary>
        /// Gets or sets the given.
        /// </summary>
        /// <value>
        /// The given.
        /// </value>
        [DataMember]
        public decimal Given { get; set; }

        /// <summary>
        /// Gets or sets the type of the debit.
        /// </summary>
        /// <value>
        /// The type of the debit.
        /// </value>
        [DataMember]
        public DebitTypes DebitType{ get; set; }

    }
}
